# -*- encoding:utf-8 -*-
# --------------------------------
# author : dbird
# create_time : 2017/4/22 12:20
# --------------------------------
from django.conf.urls import url, include
from django.contrib import admin

import blog
from blog.views import BlogHomeView, BlogDetailView

urlpatterns = [
    url(r'^post/(?P<post_id>[0-9]+)/$', BlogDetailView.as_view(), name="blog_post_detail"),
    # url(r'^about/'),
    url(r'index/$', BlogHomeView.as_view(), name="blog_home"),
]